<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title></title>
</head>
<body>
<link rel="stylesheet" type="text/css" href="http://static.joyowo.com/public/xm/dist/css/common/common.css">
<link rel="stylesheet" type="text/css" href="http://static.joyowo.com/lib/cmd-plugins/pagination/2.2.0/pagination.min.css">
<script type="text/javascript" src="http://static.joyowo.com/lib/seajs/2.3.0/sea-debug.js"></script>
<script type="text/javascript" src="http://static.joyowo.com/lib/seajs-plugins/seajs-preload/1.0.0/seajs-preload.js"></script>
<script type="text/javascript" src="http://static.joyowo.com/public/xm/config/seajs/seajs-config.js"></script>
<div class="con">

</div>
<div>
  <div id="pagination">
  </div>
  <p class="pagination-totle">共<em class="totle">0</em>条&nbsp;</p>
</div>




</body>

<script type="text/javascript">

seajs.use(['{plugins}/pagination/2.2.0/pagination.js'], function() {

  $('#pagination').pagination(100, {
    'items_per_page': 5,//每页多少条
    'num_display_entries': 5,//前面显示几页
    'num_edge_entries': 5,//末尾显示几页
    'prev_text': '上一页',
    'next_text': '下一页',
    'callback': function (d) {
      console.log(d);
    }
  });
 // var a = new A();
 // a.cos();
 // console.log(a)
 // console.log($)
 // console.log($.fn.jquery)
 // console.log($2.fn.jquery)
});



</script>
</html>